package com.cyc.quick.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author chenyunchang
 * @title
 * @date 2021/1/7 13:57
 * @Description: 用户登陆对象
 */
@Data
@ApiModel(value = "LoginReq对象")
public class LoginReq {

    @ApiModelProperty(value = "手机号", required = true)
    @NotBlank(message = "手机号不可为空")
    private String phone;

    @ApiModelProperty(value = "密码", required = true)
    @NotBlank(message = "密码不可为空")
    private String password;
}
